Chainlink API
Why
To make API calls for validation (OPTIONAL)
Set up
- Go to https://docs.chain.link/any-api/testnet-oracles/
- Retrieve the relevant Job ID and Oracle address
- Provide the above Job ID and Oracle address while calling the requestVolumeData function in the
BaseInsurancePolicy.sol
contract.